
//
//  TableHeaderView.swift
//  NavChange
//
//  Created by 郑东喜 on 2017/1/6.
//  Copyright © 2017年 郑东喜. All rights reserved.
//

import UIKit

class TableHeaderView: UIView {

    
    lazy var label = UILabel()
    
    override init(frame: CGRect) {
        super.init(frame: frame)
        
        self.backgroundColor = UIColor.red
        
        label = UILabel()
        label.frame = CGRect(x: 0, y: 10, width: UIScreen.main.bounds.width, height: 30)
        label.font = UIFont.systemFont(ofSize: 13)
        label.textAlignment = .center
        label.text = "测试一下"
        self.addSubview(label)
    }
    
    required init?(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
}
